<?php

namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Article;

class ArticleController extends Controller
{
   
public function index()
{
   return Articel::all();
}
public function show($id)
{
    return Articel::where('id',$id)->first();
}

}
